// todo 设置ICO 图标
export function setIcon(icon: string) {
  const link = document.createElement('link')
  link.type = 'image/x-icon'
  link.rel = 'shortcut icon'
  link.href = icon
  document.getElementsByTagName('head')[0].appendChild(link)
}

// todo 设置网站标题
export function setTitle(title: string) {
  document.title = `${title} - ${import.meta.env.VITE_APP_TITLE}`
}
